#include <stdio.h>
#include <iostream>
#include<math.h>
using namespace std;
int X1, Y1, X2, Y2, y;
class Ellipse
{
private:
	int x1, y1, x2, y2;
public:
	Ellipse();
	void set(int X1, int Y1, int X2, int Y2)
	{
		x1 = X1;
		y1 = Y1;
		x2 = X2;
		Y2 = y2;
	}
	Ellipse(const Ellipse& e);
	void Show()
	{
		cout << x1 << ' ' << y1 << ' ' << x2 << ' ' << y2 << endl;
	}
	void Fun(int y)
	{
		y1 += y;
		y2 - +y;
	}
	void S()
	{
		double f = abs(x1) * abs(y1) * 3.1415;
		cout << f << endl;
	}
	~Ellipse();
};
Ellipse::Ellipse()
	:x1(X1), y1(Y1), x2(X2), y2(Y2)
{
	;
}
Ellipse::Ellipse(const Ellipse& e)
{
	x1 = e.x1;
	y1 = e.y1; x2 = e.x2;
	y2 = e.y2;
}
Ellipse::~Ellipse()
{
	cout << "xigou"<<' ' << x1 << ' ' << y1 ;
	if (y1 == Y1 + 1)
		cout << endl;
}
int main()
{
	cin >> X1 >> Y1 >> X2 >> Y2 >> y;
	class Ellipse e;
	class Ellipse e2(e);
	e.Show();
	e2.Show();
	e.S();
	e2.S();
	e2.Fun(y);
	e2.S();
	return 0;

}